#!/bin/bash

NAMESPACE_WORK="php-nginx"
IMAGE_NAME="szgcjc.com.cn:8080/service/php-nginx-compile:2021050711461620359189"
DEPLOY_NAME="php-nginx-deploy"
CONTAINER_NAME="php-nginx"

# chiose ns

kubecm ns ${NAMESPACE_WORK}

# kubeclt set images
kubectl set image deploy ${DEPLOY_NAME} ${CONTAINER_NAME}=${IMAGE_NAME}